import Taro from '@tarojs/taro';
import u from 'updeep'
import request from '../util/request'

export default {
  namespace: 'businessReleaseHome',
  state: {
    tabList: [{
      path: 'rentRelease',
      name: '发布求租',
    },{
      path: 'orderRelease',
      name: '发布订单',
    },{
      path: 'productRelease',
      name: '发布产品',
    },{
      path: 'deviceRelease',
      name: '发布设备',
    },{
      path: 'recruitmentRelease',
      name: '发布招聘',
    }], // 功能选择
  },
  reducers: {
    updateState(state, {payload}) {
      return u({ ...payload }, state)
    }
  },
  effects: {}
};
